package net.stogi.common.mvp.core.model;

public class KeyValue<K, V> {

	private K key;

	private V value;

	public KeyValue(K key, V value) {
		this.key = key;
		this.value = value;
	}

	protected KeyValue() {}

	/**
	 * @return the key
	 */
	public K getKey() {
		return key;
	}

	/**
	 * @return the value
	 */
	public V getValue() {
		return value;
	}

	/**
	 * @param key
	 *            the key to set
	 */
	public void setKey(K key) {
		this.key = key;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(V value) {
		this.value = value;
	}
}
